package com.byedu.service;

import com.byedu.mapper.PayBeanMapper;
import com.byedu.entity.PayBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class PayBeanServiceImpl implements PayBeanService {

    @Autowired
    private PayBeanMapper payBeanDao;

    @Override
    public int addPayBean(PayBean payBean) {

        return payBeanDao.addPayBean(payBean);

    }

    @Override
    public int updatePayBean(PayBean payBean) {

        return payBeanDao.updatePayBean(payBean);
    }

    @Override
    public PayBean selectPayBeanId(String tradeno) {
        return payBeanDao.selectPayBeanId(tradeno);
    }


}
